<template>
  <footer>
    <div>
      <router-link to='/index'>
            <p><i class="iconfont icon-home"></i></p>
            <span>首页</span>
        </router-link>
    </div>
    <div>
      <router-link to='/vip'>
            <p><i class="iconfont icon-gift"></i></p>
            <span>会员杂锦</span>
    </router-link>
    </div>
    <div>
        <router-link to='/classify'>
            <p><i class="iconfont icon-fenlei"></i></p>
            <span>分类</span>
        </router-link>
    </div>
    <div>
        <router-link to='/cart'>
            <p><i class="iconfont icon-cart"></i></p>
            <span>购物车</span>
      </router-link>
        </div>
    <div>
        <router-link to='/me'>
            <p><i class="iconfont icon-me"></i></p>
            <span>我的</span>
      </router-link>
    </div>
  </footer>
</template>

<script>
</script>

<style>
  footer {
    height: 0.49rem;
    width: 100%;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
  }
  footer .iconfont {
    font-size: 0.22rem;
  }
  footer div {
    width: 20%;
    height: 100%;
    font-size: 0.12rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  footer p{
    text-align: center;
  }
  footer div a{
    display: block;
    color: #888;
  }
</style>